package gdrObject;

import concept.Effect;
import concept.RegenerationEffect;

public class Usable extends GdrObject{

	public Usable(String name, String iconPath, Effect effect) {
		super(name, iconPath);
		reg = null;
		this.effect = effect;
	}
	
	public Usable(String name, String iconPath, RegenerationEffect effect) {
		super(name, iconPath);
		this.effect = null;
		reg = effect;
	}

    public Effect getEffect(){
        return effect;
    }

	public RegenerationEffect getRegenerationEffect() {
		return reg;
	}

	private static final long serialVersionUID = -7420247457306042342L;
	private Effect effect;
	private RegenerationEffect reg;
}
